#include "Primitive.h"

class TriangleP: public Primitive {
public:
	TriangleP(float x1,float x2, float x3, float y1, float y2, float y3, float z1, float z2, float z3, Material *mat,Texture *tex);
	void act(float texLS=-1, float texLT=-1);
private:

	float x1,x2,x3,y1,y2,y3,z1,z2,z3, nx,ny,nz;
};